<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link href="/image/favicon.ico" rel="shortcut icon" />
    <style type="text/css">
        .box{
            margin: 0 auto;
            width: 400px;
            height: 600px;
            text-align: center;
            border: solid 1px #AAAAAA;
            border-radius: 10px;
            -moz-box-shadow:2px 2px 5px #696969;
            -webkit-box-shadow:2px 2px 5px #696969;
            box-shadow:2px 2px 5px #696969;
        }
        .title{
            font-size: 26px;
            text-align: left;
            margin: 10%;
        }
        .input{
            height: 40px;
            border-radius: 5px;
            width: 67%;
            padding-left: 7%;
            margin-bottom: 30px;
            border: solid 0.5px;
        }
        .button{
            height: 40px;
            border-radius: 5px;
            width: 73%;
            border: solid 0.5px;
            color: white;
            background-color: tomato;
        }
        .msg{
            font-size: 14px;
            color: red;
        }
    </style>
</head>
<body>
<div class="box">
    <form action="/user/signupcheck" accept-charset="utf-8" method="post">
        <div class="title">注册</div>
        账号：<input class="input" type="text" name="username"/>
        <br/>
        密码：<input class="input" type="password" name="password"/>
        <!--错误信息-->
        <div class="msg" th:text="${msg}"></div>
        <br/>
        <input class="button" type="submit" value="注册"/>
    </form>
</div>
</body>
</html>